const mongoose = require('mongoose');
const Schema = mongoose.Schema;

const messageSchema = new Schema({
    conversationId: {
        type: String,
        require: true,
    },
    content: {
        type: Array,
        require: true,
    }
    

}, {
    collection: 'message', versionKey: false
})

module.exports = mongoose.model('Message', messageSchema)